#ifndef __LAYOUTMANAGER__
#define __LAYOUTMANAGER__

#include "../includes/includes.h"

#include "ContainerComponent.h"

class MainComponent;

class LayoutManager
{
public :

	LayoutManager(MainComponent * mainComponent_);
	~LayoutManager();

	void showContainer(ContainerComponent * container);
	void hideContainer(ContainerComponent * container);

	virtual void doLayout();

private:

	void placeChildContainers(ContainerComponent * parent, int& w, int &h);

	MainComponent * mainComponent;
};


#endif